package cn.iocoder.yudao.module.promotion.controller.admin.prizedraw.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 抽奖设置商品批次分页 Request VO")
@Data
public class PrizeDrawSettingBatchPageReqVO extends PageParam {

    @Schema(description = "批次名称", example = "王五")
    private String batchName;

    @Schema(description = "可获得抽奖次数时间开始")
    private LocalDateTime batchBegin;

    @Schema(description = "可获得抽奖次数时间结束")
    private LocalDateTime batchEnd;

    @Schema(description = "下单获得次数类型（1：同一订单，2：同一用户，3：同一商品）", example = "2")
    private Integer orderType;

    @Schema(description = "启停状态")
    private Integer updown;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}